<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        console.log(3 >= 5);//false
        console.log(2 <= 4);//true
        // 1.我们程序里面的等于符号是 == 默认转换数据类型 会把字符串型的数据转换为数字型 只要求值相等就可以
        console.log(3 == 5);//false
        console.log('pink老师' == '刘德华');//false
        console.log(18 == 18);// true
        console.log(18 == '18');//true
        console.log(18 != 18);// false
        // 2.我们程序里面有全等 一模一样 要求 两侧的值 还有 数据类型完全一致才可以 true
        console.log(18 === 18);//true
        console.log(18 === '18');//false
        console.log('--------------');
        var num1 = 10;
        var num2 = 100;
        var res1 = num1 > num2;
        console.log(res1);
        var res2 = num1 = 11;
        console.log(res2);
        var res3 = num1 != num2;
        console.log(res3);
    </script>
</head>

<body>

</body>

</html>